package us.gaaoc.framework.webapp.backingbeans.agent.reports;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.transaction.annotation.Transactional;

import us.gaaoc.framework.webapp.backingbeans.BaseBackingBean;

public class SignatureStatistics extends BaseBackingBean {
	private int numberOfSignatures;
	private int numberOfSignaturesByAttorney;
	private int numberOfSignatureByCourtClerk;
	private int numberOfSignaturesByJudge;
	
	public int getNumberOfSignatures() {
		numberOfSignatures=this.getModelFacade().countSignatures();
	//	System.out.println("numberOfSignatures="+numberOfSignatures);
		return numberOfSignatures;
	}
	public void setNumberOfSignatures(int numberOfSignatures) {
		this.numberOfSignatures = numberOfSignatures;
	}
	public int getNumberOfSignaturesByAttorney() {
		numberOfSignaturesByAttorney=this.getModelFacade().CountSignaturesByAttorney();
	//	System.out.println("numberOfSignaturesByAttorney="+numberOfSignaturesByAttorney);
		return numberOfSignaturesByAttorney;
	}
	public void setNumberOfSignaturesByAttorney(int numberOfSignaturesByAttorney) {
		this.numberOfSignaturesByAttorney = numberOfSignaturesByAttorney;
	}
	public int getNumberOfSignatureByCourtClerk() {
		numberOfSignatureByCourtClerk=this.getModelFacade().countSignatureByCourtClerk();
	//	System.out.println("numberOfSignatureByCourtClerk="+numberOfSignatureByCourtClerk);
		return numberOfSignatureByCourtClerk;
	}
	public void setNumberOfSignatureByCourtClerk(
			int numberOfSignatureByCourtClerk) {
		this.numberOfSignatureByCourtClerk = numberOfSignatureByCourtClerk;
	}
	public int getNumberOfSignaturesByJudge() {
		numberOfSignaturesByJudge=this.getModelFacade().countSignaturesByJudge();
		return numberOfSignaturesByJudge;
	}
	public void setNumberOfSignaturesByJudge(int numberOfSignaturesByJudge) {
		this.numberOfSignaturesByJudge = numberOfSignaturesByJudge;
	}
	public String back() {
		return "back";
	}
}